package com.ssy.lingxi.member.merchant.api.model.vo.inner.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 根据上级会员Id和上级会员角色Id查询接口参数VO
 * @author 万宁
 * @version 2.0.0
 * @date 2020-09-03
 */
public class MemberFeignManageUpperMemberAndRoleVO implements Serializable {
    private static final long serialVersionUID = -1502312157830471762L;

    /**
     * 上级会员Id
     */
    @NotNull(message = "上级会员Id要大于0")
    @Positive(message = "上级会员Id要大于0")
    private Long parentMemberId;

    /**
     * 上级会员角色Id
     */
    @NotNull(message = "上级角色Id要大于0")
    @Positive(message = "上级角色Id要大于0")
    private Long parentMemberRoleId;

    /**
     * 下级会员Id
     */
    @NotNull(message = "下级会员Id要大于0")
    @Positive(message = "下级会员Id要大于0")
    private Long subMemberId;

    /**
     * 下级会员角色Id
     */
    @NotNull(message = "下级角色Id要大于0")
    @Positive(message = "下级角色Id要大于0")
    private Long subMemberRoleId;

    public Long getParentMemberId() {
        return parentMemberId;
    }

    public void setParentMemberId(Long parentMemberId) {
        this.parentMemberId = parentMemberId;
    }

    public Long getParentMemberRoleId() {
        return parentMemberRoleId;
    }

    public void setParentMemberRoleId(Long parentMemberRoleId) {
        this.parentMemberRoleId = parentMemberRoleId;
    }

    public Long getSubMemberId() {
        return subMemberId;
    }

    public void setSubMemberId(Long subMemberId) {
        this.subMemberId = subMemberId;
    }

    public Long getSubMemberRoleId() {
        return subMemberRoleId;
    }

    public void setSubMemberRoleId(Long subMemberRoleId) {
        this.subMemberRoleId = subMemberRoleId;
    }
}
